//
//  CLCrashFix.h
//  Charles
//
//  Created by Leo on 2019/4/11.
//  Copyright © 2019 charles. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_OPTIONS(NSUInteger, CLFixOptions) {
    CLFixOptionsBefore     = 0,    // 原方法之前调用
    CLFixOptionsInstead    = 1,    // 替换掉原方法
    CLFixOptionsAfter      = 2,    // 原方法之后调用
};

@interface CLCrashFix : NSObject

+ (void)startFix;
+ (void)evalString:(NSString *)javascriptString;

@end

NS_ASSUME_NONNULL_END
